From 095470c7874e0fa88e1ab664257ce01c76984e3b Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Mon, 1 May 2006 17:02:43 +0100 Subject: [PATCH] Include string.h in the hypercall header file to ensure that memcpy() is defined. Signed-off-by: Keir Fraser --- linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h | 2 ++ linux-2.6-xen-sparse/include/asm-ia64/hypercall.h | 2 ++ .../include/asm-x86_64/mach-xen/asm/hypercall.h | 2 ++ 3 files changed, 6 insertions(+) diff --git a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h index a5ffa3a53b..f2b8bc6342 100644 --- a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h +++ b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h @@ -33,6 +33,8 @@ #ifndef __HYPERCALL_H__ #define __HYPERCALL_H__ +#include /* memcpy() */ + #ifndef __HYPERVISOR_H__ # error "please don't include this file directly" #endif diff --git a/linux-2.6-xen-sparse/include/asm-ia64/hypercall.h b/linux-2.6-xen-sparse/include/asm-ia64/hypercall.h index 432026eea4..524559d3f9 100644 --- a/linux-2.6-xen-sparse/include/asm-ia64/hypercall.h +++ b/linux-2.6-xen-sparse/include/asm-ia64/hypercall.h @@ -33,6 +33,8 @@ #ifndef __HYPERCALL_H__ #define __HYPERCALL_H__ +#include /* memcpy() */ + #ifndef __HYPERVISOR_H__ # error "please don't include this file directly" #endif diff --git a/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h b/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h index be9933975e..7364dce57e 100644 --- a/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h +++ b/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h @@ -37,6 +37,8 @@ #ifndef __HYPERCALL_H__ #define __HYPERCALL_H__ +#include /* memcpy() */ + #ifndef __HYPERVISOR_H__ # error "please don't include this file directly" #endif -- 2.30.2